#define _CRT_SECURE_NO_WARNINGS
#include "12.31_hs.h"

char str[] = "Sunday";

struct xr* set_struct_xr_s(struct xr* p)
{
	p->c.chinese = 150;
	p->c.english = 150;
	p->c.math = 150;
	return p;
}

void Print_struct_xr(struct xr* p)
{
	printf("%s %s %d %d %d %d\n", p->name, p->sex, p->age, p->c.chinese,
		p->c.english, p->c.math);
}

struct xr* csh_struct_xr(char*p1, struct xr* p2)
{
	strcpy(p2->name, p1);
	strcpy(p2->sex, "Ů");
	p2->age = 18;
	set_struct_xr_s(p2);
	return p2;
}

int test(int a, int b)
{
	return a + b;
}

void cs_fun()
{
	static int a = 1;
	printf("%d ", a++);
}